Erasure coding is the underlying implementation technology of double fault tolerance for Redundant Array of Independent Disks-6 (RAID-6), and the performance of erasure code is one of the important factors affecting the performance of RAID-6. Aiming at the problems of I/O imbalance and slow data recovery of array erasure codes commonly used in RAID-6, an Exclusive OR (XOR) based hybrid array code was proposed, namely J-code. A new parity check generation rule was adopted by J-code. Firstly, two-dimensional array constructed from the original data was used to calculate the diagonal parity bits and construct a new array. Then, the positional relationship between the data blocks in the new array was used to calculate the anti-diagonal parity bits. Besides, the original data and part of the parity bits were stored by J-code on the same disk, which reduced the number of XOR operations in the process of encoding and decoding as well as the number of data blocks read in the recovery process of a single disk, thereby reducing the complexity of encoding and decoding as well as the I/O cost for repairing a single disk, and alleviating the phenomenon of disk hotspot concentration. Simulation results show that compared with array codes such as RDP (Row-Diagonal Parity) and EaR (Endurance-aware RAID-6), J-code has the encoding time reduced by 0.30% to 28.70%, the single disk failure repair time reduced by 2.23% to 31.62%, and the double disk failure repair time reduced by 0.39% to 36.00%.